package cn.hxzy.mapper;

import cn.hxzy.domain.Task;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TaskMapper extends BaseMapper<Task> {

    @Select("select * from sys_task where tacher_id=#{teacherId}")
    List<Task> getTaskListByTeacherId(Long teacherId);
}
